Skip to content

Restore use of #include #855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2017
Merged

Restore use of #include #855

merged 1 commit into from
Feb 8, 2017

Conversation

kastiglione
Copy link
Contributor

@kastiglione kastiglione commented Jan 31, 2017

A change made in #663 was overwritten by #709. This change restores the switch from #import to #include.

The reason for this change is: Clang's MSVC compatibility does not handle #import statements outside of of objc.

#import of type library is an unsupported Microsoft feature

The change made in swiftlang#663 were overwritten by swiftlang#709. This change restores the switch from `#import` to `#include`.

The reason for this change is: Clang's MSVC compatibility does not handle `#import` statements outside of of objc.

> #import of type library is an unsupported Microsoft feature
@parkera
Copy link
Contributor

parkera commented Jan 31, 2017

Under which circumstances would DEPLOYMENT_RUNTIME_SWIFT be false?

@kastiglione
Copy link
Contributor Author

kastiglione commented Feb 7, 2017

Recently I merged and noticed this conflict. I put up this pull request to restore the original fix, assuming it was still useful. I see now that's not the case, but would like to see it go in to prevent future changes in the conditionals from breaking compilation down the road.

@parkera
Copy link
Contributor

parkera commented Feb 8, 2017

@swift-ci test and merge

@swift-ci swift-ci merged commit b53df53 into swiftlang:master Feb 8, 2017
@kastiglione kastiglione deleted the patch-1 branch July 1, 2017 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants